package com.xsm.view;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.ViewDebug.ExportedProperty;
import android.widget.Button;

public class MarqueeButton extends Button{
	public MarqueeButton(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
protected void onFocusChanged(boolean focused, int direction,
		Rect previouslyFocusedRect) {
	if(focused)
	super.onFocusChanged(focused, direction, previouslyFocusedRect);
}

public void onWindowFocusChanged(boolean hasWindowFocus) {
      if(hasWindowFocus)
	super.onWindowFocusChanged(hasWindowFocus);
}
public boolean isFocused() {
	return true;
}
}
